package com.tao.springbootstart.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AController {

    public AController(){
        System.out.println("执行了");
    }


    @GetMapping("/hi")
    public void hi(){
        System.out.println("hello");
    }
}
